<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <cpn><button>按钮</button></cpn>
    <cpn><span>123</span></cpn>
    <cpn><i>321</i></cpn>
    <cpn><a href="solt1.html">333</a></cpn>
</div>
<template id="cpn">
    <div>
        <h2>我是标题</h2>
        <p>SDK干部考核是哪里看吗</p>
        <slot></slot>
    </div>
</template>
<script src="../js/vue.js"></script>
<script>
    let app = new Vue({
        el: '#app',
        data: {
            message: '123',
            name: '321',
        },
        components: {
            cpn: {
                template: `#cpn`,

            }
        }
    })
</script>
</body>
</html>